package airplane.com.example.service;

import airplane.com.example.entry.Ticket;
import airplane.com.example.utilities.Result;

import java.util.List;

public interface TickerService {
    Result insertTicket(Ticket ticket);
    Result deleteTicketByAirplane(Ticket ticket);
    List<Ticket> findByPage(Integer currentPage, Integer pageSize, String userName);
    int findTotal();
}